package core

import (
	"fmt"
	"strings"
)

const (
	infoFmt    = "\033[34m%s\033[0m\n"
	warningFmt = "\033[33m%s\033[0m\n"
)

func PrintPromptInfo(message ...string) {
	fmt.Printf(infoFmt, strings.Join(message, " "))
}

func PrintPromptWarning(message ...string) {
	fmt.Printf(warningFmt, strings.Join(message, " "))
}

func SprintPromptInfo(message ...string) string {
	return fmt.Sprintf(infoFmt, strings.Join(message, " "))
}

func SprintPromptWarning(message ...string) string {
	return fmt.Sprintf(warningFmt, strings.Join(message, " "))
}
